package org.micro.frame.es;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * The Elasticsearch Properties
 *
 * @author lry
 * @since 1.0.0
 */
@Data
@ConfigurationProperties(prefix = "micro.es")
public class ElasticsearchProperties {

    private String userName;
    private String password;
    private String pathPrefix;
    private Map<String, String> headers;
    private String[] addressNodes;
    private Integer maxRetryTimeout;

}
